* { margin: 0; padding: 0; }

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
  font-size: small;
  color: #383d44;
  background: #f3f1e9;
  }

/* varying styles */
#header {
  background: #232323;
}

#logo a {
  color: #fff;
}

#logo a:hover {
  color: #3D606D;
}

#logo .subtitle {
  color: #ccc;
}

#header a {
 color: #fff;
}

/* basic phrase element styles */

p {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 , h5, h6 {
  margin: 0;
}

blockquote {
  font-family: Georgia, serif;
  font-size: 107%;
  line-height: 1.5em;
  color: #666b75;
  }
code {
  color: #963;
  font-family: Monaco, monospace;
  font-size: 120%;
  text-align: left;
  }
code strong {
  color: #630;
  }
abbr, acronym, .popup {
  font-style: normal;
  border-bottom: 1px dotted #dbd5c5;
  cursor: help;
  }
a abbr {
  border: none;
  }
em {
  font-style: italic;
  }
strong {
  font-weight: bold;
  }
del {
  text-decoration: line-through;
  color: #666b75;
  }
ins {
  text-decoration: none;
  font-style: normal;
  }
address {
  margin: 0;
  padding: 0;
  font-style: normal;
  }

/*  Links
   ------------------------ */

a {
  padding-bottom: 1px;
  color: #326ea1;
  text-decoration: none;
  border-bottom: 1px solid #dbd5c5;
  }
a:hover {
  padding-bottom: 0;
  color: #383d44;
  border-bottom: 2px solid #dbd5c5;
  }
a.cancel, a.cancel {
  font-size: 0.9em;
  color: #ff0000;
  text-decoration: none;
  border-bottom: none;
  padding-left: 2px;
  }
.action a {
  color: #669933;
  font-size: 0.9em;
  padding-left: 5px;
  border-bottom: none;
}

/* Buttons
  ------------------------ */
a.button {
    background: transparent url(img/bg_button_a.gif) no-repeat scroll top right;
    color: #444;
    display: block;
    float: left;
    font-size: 1.2em;
    height: 23px;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    text-decoration: none;
    border: none;
}

a.button:hover {
  height: 24px;
}

a.button:hover, a.button:hover span { border: none; }

a.button span {
    background: transparent url(img/bg_button_div.gif) no-repeat;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
    border: none;
}

a.button:active {
    background-position: bottom right;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}

a.button:active span {
    background-position: bottom left;
    padding: 6px 0 4px 18px; /* push text down 1px */
}

/* Links with icons
  ------------------------ */
a.icon {
  display: block;
  width: 16px;
  height: 16px;
  overflow: hidden;
  text-indent: -9900em;
  border: none;
  margin: 0 auto;
}

a.add {
  background: transparent url(img/page_white_edit.png) left top no-repeat;
}

a.del {
  background: transparent url(img/delete.png) left top no-repeat;
}

a.btn-sortable {
  display: block;
  border: none;
  overflow: hidden;
  text-indent: -9900em;
  background: #fff url(img/organize.gif) left top no-repeat;
  width: 60px;
  height: 15px;
}

a.valide {
  display: block;
  border: none;
  overflow: hidden;
  text-indent: -9900em;
  background: #fff url(img/valide.gif) left top no-repeat;
  width: 60px;
  height: 15px;
}

a.addcontent {
  display: block;
  border: none;
  overflow: hidden;
  text-indent: -9900em;
  background: #fff url(img/addcontent.gif) left top no-repeat;
  width: 183px;
  height: 24px;
}


/* Common classes
  ------------------------ */

.maximal {
  width: 100%;
}

.clear {
  clear: both;
}

hr.clear {
  display: block;
  visibility: hidden;
  height: 1px;
  margin: 0;
  _margin: -7px 0;
  clear: both;
}

hr.spacer {
  display: block;
  visibility: hidden;
  height: 1px;
  margin: 0;
  _margin: 20px 0;
  clear: both;
}

.right {
    float: right;
}

.text-right {
  text-align: right;
}

.form_error {
  font-weight: bold;
  color: #BF1F00;
}

.validate.error {
  background-color: #FFD7CF;
  border-color:  #BF1F00;
  border-width: 2px 0;
  border-style: solid;
  padding: 2px;
}

.toggle-div {
  display: none;
}

.plus {
  display: block;
  background: #fff url(img/plus.gif) left 0.2em no-repeat;
  padding-left: 20px;
  border: none;
}

.minus {
  display: block;
  background: #fff url(img/minus.gif) left 0.2em no-repeat;
  padding-left: 20px;
  border: none;
}

.loading {
   font-weight: bold;
}

.box {
  padding: 5px;
  background: #EFEFEF;
  border: solid 1px #ccc;
  margin-bottom: 5px;
}

.sortable.box {
  background: #FFF;
  border-width: 1px 1px 1px 5px;
  cursor: pointer;
}

.required {
  color:#F68622;
  font-family:verdana,Helvetica,sans-serif;
  font-size:12px;
  vertical-align:-2px;
}



/*  Form
   ------------------------ */

form {
  width: 100%;
  }

label {
  display: block;
}

fieldset {
  background: #FFF;
  border: none;
  padding: 5px 10px;
  margin: 0 0 10px 0;
}

legend.hide {
  display: none;
}

form p, form label {
  margin: 0 0 0.4em 0;
  padding: 0;
}

.btns {
  padding: 10px 5px;
  background: #ddd;
  display: block;
  margin: 0;
}

.btns input {
  vertical-align: middle;
}

.group {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 10px;
  margin: 20px 5px;
}

.big {
  font-size: 150%;
}

/* Common table'styles
  ------------------------ */

table {
  border: solid 1px #E6E3D7;
  margin-bottom: 1em;
}

th {
  background: #EDF3FE;
  font-family: Verdana, serif;
  font-weight: normal;
  font-size: 100%;
  line-height: 1.2m;
  color: #000;
  padding: 5px;
  border-bottom: solid 1px #E6E3D7;
}

th.principal {
  width: 45%;
}

th.small {
  width: 5%;
}

th.action {
  width: 50px;
}

tr.odd td {
  background-color: #F3F1E9;
}

td {
  padding: 5px 5px;
  vertical-align: top;
  border-bottom: solid 1px #E6E3D7;
}

td p {
  margin: 0;
  padding: 0;
}




/* Layout
  ------------------------ */

div#wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  font-size: 95%;
  line-height: 1.6em;
  min-width: 760px;
}

div#header {
  width: 100%;
  height: 90px;
  border-bottom: solid 5px #fff;
}

div#page {
   width: 95%;
  margin: 0 auto;
  padding: 0;
}

div#main {
    margin: 20px auto;
    padding:0pt;
    position:relative;
    text-align:left;
    width:100%;
  }

div#content {
  display:inline;
  float:left;
  width:66%;
  min-height: 600px;
  height: auto !important;
  height: 600px;
}

div#content.maximal {
  width: 100%;
}

div#content .inside {
  margin: 10px 20px;
}

div#sidebar {
  display:inline;
  float:right;
  width:32%;
}

div#footer {
  clear: both;
  width: 98%;
}

/* Header
  ------------------------ */

#header {
  padding: 0;
  font-size: 95%;
  }

/* logo */

#logo {
  position: relative;
  top: 20px;
    margin-left: 20px;
  padding: 0;
  font: 2.4em "Lucida Grande",verdana,arial,helvetica,sans-serif;
  }

#logo a, #logo a:hover {
  border: none;
}


#logo .subtitle {
  font-size: 0.6em;
  margin-left: 10px;
}

/* utils */

#utils {
  position: relative;
  float: right;
  top: 0px;
    margin-right: 10px;
}

#utils a:link, #utils a:visited {
  margin: 0 5px;
}

#utils a:hover {
  margin: 0 5px;
  color: #326ea1;
}

/* Navigation
  ------------------------ */

#navigation {
  position: absolute;
  top: 67px;
  left: 10px;
}

html/**/body #navigation {
 top: 70px;
}

#navigation ul li {
  display: inline;
  list-style: none;
  padding: 0 0 5px 0;
}

#navigation ul li a {
  background-color: #CCCCCC;
  padding: 6px 10px;
  text-decoration: none;
  border: none;
  font-weight: bold;
}

#navigation ul li a:hover , #navigation ul li a.current {
  color: #000;
  background: #fff;
}


/* Content
  ------------------------ */

div#content {
  background: #fff;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  font-size: 0.9em;
}

#content h3 {
    padding: 10px 20px;
    background: #EDF3FE;
  margin: 0 0 10px 0;
  font-family: Verdana, serif;
  font-weight: bold;
  font-size: 180%;
  line-height: 1.5em;
  color: #000;
  border-bottom: 1px solid #dbd5c5;
}

#content h4 {
  margin: 0 0 0.4em 0;
  padding: 0;
  font-family: Verdana, serif;
  font-weight: bold;
  font-size: 120%;
  line-height: 1.5em;
  color: #693;
  border-bottom: 1px solid #dbd5c5;
  }

#content th h4 {
  border: none;
}

#content h5 {
  font-size: 1.2em;
  margin: 0 0 0.4em;
}

#content p {
  margin-bottom: 0.4em;
}

#content .box h5, #content .box p {
  margin-bottom: 0;
}

span.amp {
  font-size: 110%;
  font-family: "Goudy Old Style", "Palatino", "Book Antiqua", serif;
  font-style: italic;
  }

#content p.controls {
  margin-bottom: 0.8em;
}

#content p.controls a {
  font-size: 0.9em;
  color: #f00;
  border: none;
  text-decoration: underline;
}

#loader {
  display: block;
  position: absolute;
  top: 90px;
  left: 50%;
  margin-left: -110px;
}

/*  Particular content styles
   ------------------------ */

#TblListContent {
  margin-top: 10px;
}

.entries td {
  background:#F4F9FB none repeat scroll 0%;
  border-bottom:1px solid #D4E6EF !important;
  border-left:3px solid #637788;
  padding-left: 20px !important;
}

.listEntries .clear-left {
  clear: both;
}

.listEntries .delete a{
  display: block;
  width: 16px;
  height: 16px;
  overflow: hidden;
  float: right;
  margin-right: 30px;
  background: transparent url(img/delete.png) left top no-repeat;
  text-indent: -9900em;
}

.listEntries .entry-title {
  float: left;
}

.log {
  padding: 5px 0;
  background: #fff;
  border-bottom: solid 1px #ccc;
}

#content .log p {
  margin-bottom: 0;
}

#content p.note {
  font-style: italic;
  color: #666;
}

#content .user {
  padding: 5px 10px 5px 65px;
  background: transparent url(img/user.gif) left center no-repeat;
  border-bottom: solid 1px #ccc;
  min-height: 55px;
  _height: auto !important;
  _height: 55px;
}

/* title box */

#title {
  margin: 0;
  padding: 0;
  border-bottom: 2px solid #dbd5c5;
  }
#title h1 {
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  font-size: 170%;
  line-height: 1.2em;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  color: #383d44;
  border: none;
  }
#title h1 span {
  color: #666b75;
  }
#title h2 {
  margin: 3px 0 0 0;
  padding: 0;
  font-size: 90%;
  font-weight: normal;
  font-style: italic;
  line-height: 1.6em;
  color: #666b75;
  }


/* sidebar
---------------------------------------------------------- */

#sidebar {
  font-size: 0.8em;
}

#sidebar h3 {
  margin: 20px 0 12px 0;
  padding: 0 0 5px 0;
  font-family: Verdana, serif;
  font-weight: bold;
  font-size: 93%;
  line-height: 1em;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #693;
  border-bottom: 1px solid #dbd5c5;
  }
#sidebar h3.first {
  margin-top: 0;
  }
#sidebar h3.featured {
  margin-bottom: 0;
  border-bottom: 0;
  }
#sidebar p {
  margin: 0;
  padding: 0;
  }
#sidebar p.cc {
  margin-top: 1em;
  }
#sidebar ul, #sidebar dl {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  list-style: none;
  }
#sidebar li {
  margin: 0 0 .5em 0;
  padding: 0 0 0 0;
  }

/*  Pager style
   ------------------------ */
.pager {
  padding: 5px 0;
  color: #042B3F;
  margin: 10px 0;
  text-align: center;
}

.pager span.atThisPage{
  background:#FFFFFF none repeat scroll 0%;
  border-color:#999999;
  color:#95BAEF;
  font-size:13px;
  font-weight:bold;
  padding:2px 6px;
  vertical-align:top;
}

.pager a {
  background:#FFFFFF none repeat scroll 0%;
  border:1px solid #DDDDDD;
  padding:2px 6px;
  text-decoration:none;
  color: #00347F;
}

.pager .prev {
  background:#FFFFFF none repeat scroll 0%;
  color:#AAAAAA;
  margin-right:20px;
  padding:2px 6px;
}

.pager .next {
  background:#FFFFFF none repeat scroll 0%;
  color:#AAAAAA;
  margin-left:20px;
  padding:2px 6px;
}

/*  Login
    ------------------------ */
#loginBox {
  width: 400px;
  margin: 80px auto;
  border: solid 5px #004D95;
  background: #fff;
  padding: 10px;
}

#loginBox h2 {
  color: #004D95;
  font-size: 1.2em;
  margin-bottom: 1em;
}

#loginBox label {
  font-weight: bold;
}

#loginBox .text, #loginBox .password {
  margin-top: 0.4em;
  padding: 2px;
  width: 360px;
}

#main .confirm {
    border: solid 1px #FFD40F;
    background: #FFFABF;
    padding: 5px;
    font-weight: bold;
    margin: 5px 0;
}

#main .error {
  border: solid 1px #FF7349;
  background: #FFDACA;
  padding: 5px;
  font-weight: bold;
  margin: 5px 0;
}

.spam {
  background-color: #fbe3e4;
}

/*  Sortable
    -------------------------- */
#sorter {
  margin: 15px 20px;
  width: 60%:
}

.sortable {
  width: 60%;
  margin: 5px 0;
  display: block;
  padding: 5px 10px;
  border: solid 1px #ddd;
  background: #eee;
  font-weight: bold;
  cursor: move;
}

.vignette {
  width: 100px;
  height: 100px;
  padding: 5px;
  border: solid 1px #ddd;
  margin: 1em;
  float: left;
}

.clearfix { display: inline-block; }   
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clearfix { height: 1%; }
.clearfix { display: block; }